package com.canaan.business.domain.bill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 托盘物料冻结明细对象 wms_tray_product_freeze_detail
 *
 * @author canaan
 * @date 2025-04-21
 */
@ApiModel(description = "wms_tray_product_freeze_detail")
@TableName("wms_tray_product_freeze_detail")
public class TrayProductFreezeDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 冻结编号 */
    @Excel(name = "冻结编号")
    @ApiModelProperty("冻结编号")
    private String freezeNo;

    /** 托盘号 */
    @Excel(name = "托盘号")
    @ApiModelProperty("托盘号")
    private String trayNo;

    /** 库存状态 */
    @Excel(name = "库存状态")
    @ApiModelProperty("库存状态")
    private String stockStatus;

    /** 物料编号 */
    @Excel(name = "物料编号")
    @ApiModelProperty("物料编号")
    private String productNo;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty("数量")
    private Long qty;

    /** 单据号 */
    @Excel(name = "单据号")
    @ApiModelProperty("单据号")
    private String billNo;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("单据号")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFreezeNo(String freezeNo)
    {
        this.freezeNo = freezeNo;
    }

    public String getFreezeNo()
    {
        return freezeNo;
    }
    public void setTrayNo(String trayNo)
    {
        this.trayNo = trayNo;
    }

    public String getTrayNo()
    {
        return trayNo;
    }
    public void setStockStatus(String stockStatus)
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus()
    {
        return stockStatus;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setQty(Long qty)
    {
        this.qty = qty;
    }

    public Long getQty()
    {
        return qty;
    }
    public void setBillNo(String billNo)
    {
        this.billNo = billNo;
    }

    public String getBillNo()
    {
        return billNo;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("freezeNo", getFreezeNo())
            .append("trayNo", getTrayNo())
            .append("stockStatus", getStockStatus())
            .append("productNo", getProductNo())
            .append("qty", getQty())
            .append("billNo", getBillNo())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
